package mdt.figure;

import org.tigris.gef.base.Layer;
import org.tigris.gef.presentation.Fig;
import org.tigris.gef.presentation.FigEdgePoly;
import mdt.model.ICommentLink;

import java.awt.*;

/**
 * Created by xiaobyu on 6/17/2016.
 */
public class FigCommentLink extends FigEdgePoly{
    private static final long serialVersionUID = 1L;

		public FigCommentLink(ICommentLink edge, Layer lay) {
        setOwner(edge);
        setBetweenNearestPoints(true);
    }

    public void setFig(Fig f) {
        f.setDashed(true);
        f.setLineColor(Color.gray);
        super.setFig(f);
    }
}
